/**
 * 
 */
package v1c07;

import java.awt.GraphicsEnvironment;

/**
 * @author gjunming@gmail.com
 * @version Aug 6, 2009 1:57:16 PM
 */
public class ListFonts {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		String[] fonts = GraphicsEnvironment.getLocalGraphicsEnvironment()
				.getAvailableFontFamilyNames();
		for (String font : fonts) {
			System.out.println(font);
		}
	}

}
